﻿using System.Web.UI.WebControls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Marbles.Core.Web.CMS
{
    public class ContentObject : IContentObject
    {

        public string Key { get { return this._key; } set { this._key = value; } }
        public string Value { get { return this._value; } set { this._value = value; } }

        private string _key = string.Empty;
        private string _value = string.Empty;

        public ContentObject(string key, string value)
        {
            this._key = key;
            this._value = value;
        }

        public ContentObject()
        {
            this._key = Key;
            this._value = Value;
        }

        public ContentObject(string key)
        {
            this._key = key;
            this._value = string.Empty;
        }
    }
}
